# -*- coding: utf-8 -*-

'''
1C misc declarations.
@author TI_Eugene
'''

# 1C colors
Color = (
	(0x00, 0x00, 0x00),
	(0xff, 0xff, 0xff),
	(0xff, 0x00, 0x00),
	(0x00, 0xff, 0x00),
	(0x00, 0x00, 0xff),
	(0xff, 0xff, 0x00),
	(0xff, 0x00, 0xff),
	(0x00, 0xff, 0xff),
	(0x80, 0x00, 0x00),
	(0x00, 0x80, 0x00),
	(0x80, 0x80, 0x00),
	(0x00, 0x00, 0x80),
	(0x80, 0x00, 0x80),
	(0x00, 0x80, 0x80),
	(0x80, 0x80, 0x80),
	(0xc0, 0xc0, 0xc0),
	(0x80, 0x80, 0xff),
	(0x80, 0x20, 0x60),
	(0xff, 0xff, 0xc0),
	(0xa0, 0xe0, 0xe0),
	(0x60, 0x00, 0x80),
	(0xff, 0x80, 0x80),
	(0x00, 0x80, 0xc0),
	(0xc0, 0xc0, 0xff),
	(0x00, 0xcf, 0xff),
	(0x69, 0xff, 0xff),
	(0xe0, 0xff, 0xe0),
	(0xdd, 0x9c, 0xb3),
	(0xb3, 0x8f, 0xee),
	(0x2a, 0x6f, 0xf9),
	(0x3f, 0xb8, 0xcd),
	(0x48, 0x84, 0x36),
	(0x95, 0x8c, 0x41),
	(0x8e, 0x5e, 0x42),
	(0xa0, 0x62, 0x7a),
	(0x62, 0x4f, 0xac),
	(0x1d, 0x2f, 0xbe),
	(0x28, 0x66, 0x76),
	(0x00, 0x45, 0x00),
	(0x45, 0x3e, 0x01),
	(0x6a, 0x28, 0x13),
	(0x85, 0x39, 0x6a),
	(0x4a, 0x32, 0x85),
	(0xc0, 0xdc, 0xc0),
	(0xa6, 0xca, 0xf0),
	(0x80, 0x00, 0x00),
	(0x00, 0x80, 0x00),
	(0x00, 0x00, 0x80),
	(0x80, 0x80, 0x00),
	(0x80, 0x00, 0x80),
	(0x00, 0x80, 0x80),
	(0x80, 0x80, 0x80),
	(0xff, 0xfb, 0xf0),
	(0xa0, 0xa0, 0xa4),
	(0x31, 0x39, 0x00),
	(0xd9, 0x85, 0x3e)
)

Pattern = (
	["1 1 2 1",
	" 	c None",
	".	c #FFFFFF",
	"."],
	["2 4 3 1",
	" 	c None",
	".	c #000000",
	"+	c #FFFFFF",
	"..",
	".+",
	"..",
	"+."],
	["2 2 3 1",
	" 	c None",
	".	c #FFFFFF",
	"+	c #000000",
	".+",
	"+."],
	["2 4 3 1",
	" 	c None",
	".	c #000000",
	"+	c #FFFFFF",
	".+",
	"++",
	"+.",
	"++"],
	["8 8 3 1",
	" 	c None",
	".	c #000000",
	"+	c #FFFFFF",
	"........",
	".+++++++",
	".+++++++",
	".+++++++",
	"........",
	"++++.+++",
	"++++.+++",
	"++++.+++"],
	["8 8 3 1",
	" 	c None",
	".	c #FFFFFF",
	"+	c #000000",
	"..+.+.+.",
	".+...+..",
	"+.+.+...",
	"...+...+",
	"+...+.+.",
	".+...+..",
	"+.+...+.",
	"...+...+"],
	["4 1 3 1",
	" 	c None",
	".	c #FFFFFF",
	"+	c #000000",
	"..++"],
	["1 4 3 1",
	" 	c None",
	".	c #FFFFFF",
	"+	c #000000",
	".",
	".",
	"+",
	"+"],
	["4 4 3 1",
	" 	c None",
	".	c #FFFFFF",
	"+	c #000000",
	".++.",
	"++..",
	"+..+",
	"..++"],
	["4 4 3 1",
	" 	c None",
	".	c #FFFFFF",
	"+	c #000000",
	"..++",
	"+..+",
	"++..",
	".++."],
	["4 4 3 1",
	" 	c None",
	".	c #FFFFFF",
	"+	c #000000",
	".++.",
	"+..+",
	"+..+",
	".++."],
	["4 4 3 1",
	" 	c None",
	".	c #FFFFFF",
	"+	c #000000",
	".+++",
	"++.+",
	"++.+",
	".+++"],
	["8 8 3 1",
	" 	c None",
	".	c #000000",
	"+	c #FFFFFF",
	"...++++.",
	"..++++..",
	".++++...",
	"++++....",
	"+++....+",
	"++....++",
	"+....+++",
	"....++++"],
	["8 8 3 1",
	" 	c None",
	".	c #000000",
	"+	c #FFFFFF",
	"...++++.",
	"....++++",
	"+....+++",
	"++....++",
	"+++....+",
	"++++....",
	".++++...",
	"..++++.."],
	["4 4 3 1",
	" 	c None",
	".	c #FFFFFF",
	"+	c #000000",
	".+..",
	"+...",
	"...+",
	"..+."],
	["4 4 3 1",
	" 	c None",
	".	c #FFFFFF",
	"+	c #000000",
	"..+.",
	"...+",
	"+...",
	".+.."]
)

Frame = (
	["1 1 1 1",
	" 	c None",
	" "],
	["2 1 2 1",
	" 	c None",
	".	c #000000",
	". "],
	["1 1 2 1",
	" 	c None",
	".	c #000000",
	"."],
	["1 2 2 1",
	" 	c None",
	".	c #000000",
	".",
	"."],
	["1 3 2 1",
	" 	c None",
	".	c #000000",
	".",
	".",
	"."],
	["1 3 2 1",
	" 	c None",
	".	c #000000",
	".",
	" ",
	"."],
	["4 1 2 1",
	" 	c None",
	".	c #000000",
	"..  "],
	["4 1 2 1",
	" 	c None",
	".	c #000000",
	"... "],
	["2 1 3 1",
	" 	g None",
	".	g #000000",
	"+	g #DADADA",
	".+"],
	["8 2 2 1",
	" 	c None",
	".	c #000000",
	"......  ",
	"......  "]
)
